package com.cma.model.db;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;


/**
 * 台风登陆城市字典表
 * 数据库表【tfcitydictionary】对应的entity对象
 *
 * @author  bjs
 * @date 2017-01-03 18:59:19
*/
@Entity
@Table(name = "tfcitydictionary")
public class Tfcitydictionary extends BaseDbEntity implements Serializable {


// 省份编号
@Column(name = "pid", nullable = false)
private java.lang.Integer pid;


// 城市名称
@Column(name = "cityname", nullable = false)
private java.lang.String cityname;


// 删除标志
@Column(name = "v_del_flg", nullable = false)
private java.lang.Integer vDelFlg;


// 版本号
@Column(name = "v_version", nullable = false)
private java.lang.Integer vVersion;






    // ================================================================================================



    /**
     * 获取对象的属性【省份编号】
     *
     * @return java.lang.Integer
     */
public java.lang.Integer getPid() {
        return pid;
        }

/**
 * 设置对象的属性【省份编号】
 * @param pid
 */
public void setPid(java.lang.Integer pid) {
        this.pid = pid;
        }

    /**
     * 获取对象的属性【城市名称】
     *
     * @return java.lang.String
     */
public java.lang.String getCityname() {
        return cityname;
        }

/**
 * 设置对象的属性【城市名称】
 * @param cityname
 */
public void setCityname(java.lang.String cityname) {
        this.cityname = cityname;
        }

    /**
     * 获取对象的属性【删除标志】
     *
     * @return java.lang.Integer
     */
public java.lang.Integer getVDelFlg() {
        return vDelFlg;
        }

/**
 * 设置对象的属性【删除标志】
 * @param vDelFlg
 */
public void setVDelFlg(java.lang.Integer vDelFlg) {
        this.vDelFlg = vDelFlg;
        }

    /**
     * 获取对象的属性【版本号】
     *
     * @return java.lang.Integer
     */
public java.lang.Integer getVVersion() {
        return vVersion;
        }

/**
 * 设置对象的属性【版本号】
 * @param vVersion
 */
public void setVVersion(java.lang.Integer vVersion) {
        this.vVersion = vVersion;
        }

        // ================================================================================================

        public String toString(){
            StringBuffer sb = new StringBuffer();
            sb.append("Tfcitydictionary=====>");
            sb.append("{");
                                sb.append("id=>"+this.id).append(", ");
                                sb.append("pid=>"+this.pid).append(", ");
                                sb.append("cityname=>"+this.cityname).append(", ");
                                sb.append("vDelFlg=>"+this.vDelFlg).append(", ");
                                sb.append("createTime=>"+this.createTime).append(", ");
                                sb.append("updateTime=>"+this.updateTime).append(", ");
                                sb.append("vVersion=>"+this.vVersion).append(", ");
                        sb.append("}");
            return sb.toString();
        }

}